package com.zhixin.zhixinmall.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;

/**
 * @author cyc
 * @date 2023/10/09 09:00:36
 */

@Component
@ConfigurationProperties(prefix = "jd")
@Data
public class JdProperties {
    /**
     * jd服务器地址
     */
    private String serverUrl;

    /**
     * 若接口需要申请则需要配置
     */
    private String accessToken;

    /**
     * appKey
     */
    private String appKey;

    /**
     * appSecret
     */
    private String appSecret;

    /**
     * 联盟id
     */
    private String unionId;
}
